

# if (int(a) < 0 ) :
#     print("成绩小于0")
# elif(int(a) > 100 ):
#     print("成绩大于100")
# else:
#     if (int(a) > 90):
#         print("A")
#     elif (int(a) > 80):
#         print("B")
#     elif (int(a) > 70):
#         print("C")
#     elif (int(a) > 60):
#         print("D")
#     elif (int(a) < 60):
#         print("E")
#

a = input("分数：")
if (int(a) < 0 or int(a) > 100) :
    print("成绩超出范围")
else:
    if (int(a) == 90):
        print("A")
    elif (int(a) > 80):
        print("B")
    elif (int(a) > 70):
        print("C")
    elif (int(a) > 60):
        print("D")
    elif (int(a) < 60):
        print("E")


